package com.indexingsystem.system.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.indexingsystem.boss.admin.mapper.ArticleContentsMapper;
import com.indexingsystem.boss.entity.ArticleContents;
import com.indexingsystem.system.service.IArticleContentsService;


@Service
public class ArticleContentsServiceImpl implements IArticleContentsService
{
    @Resource
    private ArticleContentsMapper articleContentsMapper;
    
    

    @Override
    public int deleteByPrimaryKey(String resId)
    {
        return articleContentsMapper.deleteByPrimaryKey(resId);
    }

    @Override
    public int insert(ArticleContents record)
    {
        return articleContentsMapper.insert(record);
    }

    @Override
    public int insertSelective(ArticleContents record)
    {
        return articleContentsMapper.insertSelective(record);
    }

    @Override
    public ArticleContents selectByPrimaryKey(String resId)
    {
        return articleContentsMapper.selectByPrimaryKey(resId);
    }

    @Override
    public int updateByPrimaryKeySelective(ArticleContents record)
    {
        return articleContentsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKeyWithBLOBs(ArticleContents record)
    {
        return articleContentsMapper.updateByPrimaryKeyWithBLOBs(record);
    }
}